home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: news.sprintlink.net!news1!news
- From: rclark@iquest.net (Robert B. Clark)
- Subject: Re: C beginner needs your help ASAP
- X-Nntp-Posting-Host: ind-002-236-112.iquest.net
- Message-ID: <3131dec0.13245822@news.iquest.net>
- Sender: news@iquest.net (News Admin)
- Organization: IQuest Internet, Inc.
- X-Newsreader: Forte Agent .99d/16.182
- References: <4g862f$p0b@risky.ecs.umass.edu> <3129dd8a.1042915@news.iquest.net> <312A5942.73EB@oc.com>
- Date: Mon, 26 Feb 1996 18:11:42 GMT
-
- On Tue, 20 Feb 1996 17:29:06 -0600, Larry Weiss <lfw@oc.com> wrote:
-
- >Robert B. Clark wrote:
- > > ... look up the
- > > tmpnam() function. It will automatically increment filenames for you,
- > > making sure that the derived filename does not match any in the target
- >
- >Be aware that the C Standard does not guarantee any particular pattern
- >to the generated filename(s).
-
- I realize that. But if all the original poster wanted was to generate a
- temporary file name (for whatever purpose), the actual filename itself
- is really immaterial. Given the pattern of the filenames that he asked
- for, it seemed possible.
-
- Perhaps I should have said "automatically creates unique filenames"
- instead of "increment filenames for you"? :-)
- --
- Robert B. Clark <rclark@iquest.net>
- "Be wary of strong spirits. It can make you shoot at tax collectors...
- and miss." --RAH
-